import request from '@/utils/request'

// 查询特色标签列表
export function listVfCharacteristic(query) {
  return request({
    url: '/system/vfCharacteristic/list',
    method: 'get',
    params: query
  })
}

// 查询特色标签详细
export function getVfCharacteristic(characteristicId) {
  return request({
    url: '/system/vfCharacteristic/' + characteristicId,
    method: 'get'
  })
}

// 新增特色标签
export function addVfCharacteristic(data) {
  return request({
    url: '/system/vfCharacteristic',
    method: 'post',
    data: data
  })
}

// 修改特色标签
export function updateVfCharacteristic(data) {
  return request({
    url: '/system/vfCharacteristic',
    method: 'put',
    data: data
  })
}

// 删除特色标签
export function delVfCharacteristic(characteristicId) {
  return request({
    url: '/system/vfCharacteristic/' + characteristicId,
    method: 'delete'
  })
}
